Next, submitFormData() sets the Ajax-Request header, which is specific to the sample application and is used to identify the Ajax requests on the server side as you'll see later in the article. 接下来,submitFormData()设定Ajax-Request报头,它对示例应用程序是特定的,用来在服务器端识别Ajax请求,这将在本文后面的部分进行介绍。
Here is the class, in a header file called "Sample. h" 以下就是这个类,位于名为“Example.h”的头文件中